﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ViewModel
{
    public class Member : Shop
    {
        public int ID { get; set; }
        public string UserName { get; set; }
        public string Password { get; set; }
        public Shop Shop { get; set; }
        //public Group Group { get; set; }
        public Role Role { get; set; }
        public DateTime DateCreated { get; set; }

        public int ShopID { get { return Shop.ID; } }
        public string ShopText { get { return Shop.Name; } }

    }
}
